package com.ysy.logistics.service.system;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ysy.logistics.entities.system.SysNotice;
import com.ysy.logistics.entities.system.UserNotice;
import com.ysy.logistics.entities.system.dto.UserNoticeDto;
import com.ysy.logistics.util.PageInfo;

import java.util.List;

/**
 * @author 姚斯羽
 * @date 2025/4/18 11:35
 * @description:
 */
public interface UserNoticeService extends IService<UserNotice> {
    List<SysNotice> getByDeviceNoticeUserId(String userId);

    List<SysNotice> getByStoreNoticeUserId(String userId);

    Page<UserNoticeDto> listByPage(PageInfo<UserNoticeDto> pageInfo);

    void remove(PageInfo<UserNoticeDto> page);
}
